//
//  SearchUsersViewController.h
//  SpendFunk
//
//  Created by dongmh on 5/8/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kUserID     @"userid"
#define kUserName   @"username"
#define kFirstName	@"firstname"
#define kLastName	@"lastname"
#define kEmail		@"email"
#define kAvatar		@"avatar"
#define kUserType	@"user_type"
#define kFacebookID	@"facebook_id"
#define kTwitterID	@"twitter_id"
#define kFollow		@"follow"

@interface SearchUsersViewController : UIViewController<NSXMLParserDelegate> {
			
	UITextField *m_pTxtUser;
	UIButton *m_pBtnBack;
	UIButton *m_pBtnSearch;
	
	//
	NSMutableArray *m_pArrUserFinded;
	////
	NSMutableData *m_pWebData;
	NSString *currentElementValue;
	NSString *currentElement;
	
	//
	
	BOOL searching;
	NSMutableDictionary *m_pDictUserInfo;
	NSMutableArray		*m_pArrFriends;
	///
	int iCurrCount;
	int iCountFriend;
	
	// Please wait...
	UIView *_blockerView;
}
- (void)initView;
- (void)onBackClick;
- (void)onSeachClick;
- (void)searchUser:(NSString *)username userid:(NSString *)userid;
@end
